package model;

import java.io.Serializable;

/**
 * @author lizihao
 *
 */
public class Emp implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 2852755236784160636L;
	private int id;
	private String name;
	private String job;
	private String sex;
	private Long timestamp;
	
	
	
	public Emp() {
		super();
	}



	public Emp(int id, String name, String job, String sex, Long timestamp) {
		super();
		this.id = id;
		this.name = name;
		this.job = job;
		this.sex = sex;
		this.timestamp = timestamp;
	}



	public int getId() {
		return id;
	}



	public void setId(int id) {
		this.id = id;
	}



	public String getName() {
		return name;
	}



	public void setName(String name) {
		this.name = name;
	}



	public String getJob() {
		return job;
	}



	public void setJob(String job) {
		this.job = job;
	}



	public String getSex() {
		return sex;
	}



	public void setSex(String sex) {
		this.sex = sex;
	}



	public Long getTimestamp() {
		return timestamp;
	}



	public void setTimestamp(Long timestamp) {
		this.timestamp = timestamp;
	}



	public static long getSerialversionuid() {
		return serialVersionUID;
	}



	@Override
	public String toString() {
		return "Emp [id=" + id + ", name=" + name + ", job=" + job + ", sex=" + sex + ", timestamp=" + timestamp + "]";
	}
	
	
}
